def del2(number):
    q = set()
    for del_ in range(2,int(number**0.5)):
        if number % del_ == 0:
            q.add(del_)
            q.add(number//del_)
    return len(q)

for number in range(2,1000):
    if del2(number)==2:
        print(number)

